package nutella89.basic;

public class GuGu7Dan {

	public static void main(String[] args) {
		// 구구단 중 7단을 출력
		// 7 x 1 = 7
		// 7 x 2 = 14
		// 7 x 3 = 21
		// ... ...
		// 7 x 9 = 63
		
		// 출력 형태 1
		System.out.println( "7 x 1 = 7" );
		System.out.println( "7 x 2 = 14" );
		
		// 출력 형태 2 
		System.out.println( "7 x 1 = " + (7*1) );
		System.out.println( "7 x 2 = " + (7*2) );
		
		// 출력 형태 3
		int i;
		i = 7;
		
		System.out.println( i + " x 1 = " + (i*1) );
		System.out.println( i + " x 2 = " + (i*2) );
		System.out.println( i + " x 3 = " + (i*3) );
		System.out.println( i + " x 4 = " + (i*4) );
		System.out.println( i + " x 5 = " + (i*5) );
		System.out.println( i + " x 6 = " + (i*6) );
		System.out.println( i + " x 7 = " + (i*7) );
		System.out.println( i + " x 8 = " + (i*8) );
		System.out.println( i + " x 9 = " + (i*9) );
	}

}




